package com.egao.common.module.guidance.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author pyx
 */
@Data
public class LectureApplyVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("讲座id")
    private Integer lectureId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("讲座时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;

    @ApiModelProperty("报名截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date applyEndTime;

    @ApiModelProperty("举办地点")
    private String holdAddress;

    @ApiModelProperty("限制报名人数")
    private Integer applyNum;

    @ApiModelProperty("已报名人数")
    private Integer applyAllNum;

    @ApiModelProperty("备注")
    private String content;

    @ApiModelProperty("报名按钮状态")
    private Integer btn;

}
